﻿<UserControl x:Class="SmartBoard.Chat.ChatUI"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    >
    <Grid>
      <Grid.ColumnDefinitions>
        <ColumnDefinition Width="*" />
        <ColumnDefinition Width="Auto" />
        <ColumnDefinition Width="*"/>
      </Grid.ColumnDefinitions>

      <Grid.RowDefinitions>
        <RowDefinition/>
        <RowDefinition Height="Auto"/>
      </Grid.RowDefinitions>

      <ListBox Grid.Column="0" Name="w_lstUsersListBox" />
      <GridSplitter HorizontalAlignment="Center" Margin="0" Grid.Column="1" Width="2" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Center" Background="#FF262B34" Foreground="{x:Null}"/>
      <Grid Grid.Column="2">
        <Grid.RowDefinitions>
          <RowDefinition Height="*"/>
          <RowDefinition Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBox Name="w_txtChat" Grid.Row="0" IsReadOnly="True" />
        <Grid Grid.Row="1">
          <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="Auto"/>
          </Grid.ColumnDefinitions>
          
          <TextBox Name="w_txtChatToSend" Grid.Column="0"/>
          <Button Content="Send" Grid.Column="1" />
        </Grid>
      </Grid>

      <StackPanel Grid.Row="1" Orientation="Horizontal" Grid.ColumnSpan="3">
        <Button Content="Connect" />
        <Button Content="Disconnect"/>
        <TextBox Text="radhey" Name="w_txtUserName" />
      </StackPanel>
    </Grid>
</UserControl>
